/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.ac.iie.di.ban.news.server.test;

import com.alibaba.fastjson.JSONObject;

/**
 *
 * @author zwlin
 */
public class jsontest {

	public static void main(String[] args) {
		Object jObject = JSONObject.parse("{\n"
				+ "\"msg_type\":\"4\",\n"
				+ "\"total_pushed_num\":\"1\",\n"
				+ "\"record_list\":\n"
				+ "[\n"
				+ "{\n"
				+ "\"DOMAIN\":\"www.test.com\",\n"
				+ "\"POSTCHANNEL\":\"1\",\n"
				+ "\"POSTID\":\"a3wf09jfsg2==\",\n"
				+ "\"LIKENUM\":5\n"
				+ "}\n"
				+ "]\n"
				+ "}");
		System.out.println(((JSONObject) jObject).toJSONString());
		int a = 0;
	}
}
